﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Text;

namespace Components
{
    public partial class button_task1 : System.Windows.Forms.Button
    {
        public button_task1()
        {
            InitializeComponent();
        }

        public button_task1(IContainer container)
        {
            container.Add(this);

            InitializeComponent();
        }

        private void button1_MouseEnter(object sender, EventArgs e)
        {
            
        }

        private void button_task1_MouseEnter(object sender, EventArgs e)
        {
            this.BackgroundImage = Components.Properties.Resources._2;
        }

        private void button_task1_MouseHover(object sender, EventArgs e)
        {
            
        }

        private void button_task1_MouseLeave(object sender, EventArgs e)
        {
            this.BackgroundImage = Components.Properties.Resources._1;
        }

        private void button_task1_MouseDown(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            this.BackgroundImage = Components.Properties.Resources._3;
        }

        private void button_task1_MouseUp(object sender, System.Windows.Forms.MouseEventArgs e)
        {
            this.BackgroundImage = Components.Properties.Resources._2;
        }
    }
}
